package com.yxt.qmgf.shop.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yxt.qmgf.shop.sql.ShopSQLProvider;
import com.yxt.qmgf.shop.vo.entity;
import com.yxt.qmgf.start.sql.LoginSQLProvider;
import com.yxt.qmgf.userinfo.vo.UserInfoVO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.SelectProvider;


public interface ShopDao extends BaseMapper<entity> {
    @SelectProvider(type= ShopSQLProvider.class, method="Select")
    entity Select();

    @SelectProvider(type= ShopSQLProvider.class, method="Update")
    void Update(@Param("entity") entity entity);

    @SelectProvider(type= ShopSQLProvider.class, method="Insert")
    void Insert(@Param("entity") entity entity);

    @SelectProvider(type= ShopSQLProvider.class, method="Delete")
    void Delete(@Param("id") Integer id);

    @SelectProvider(type= ShopSQLProvider.class, method="updateUidForAll")
    void updateUidForAll(@Param("Uid") String Uid);




}
